﻿<%@ page title="" language="C#" masterpagefile="~/MasterPages/MasterPage.master" autoeventwireup="true" inherits="Pages_Public_ContactUs, BtcHousing" stylesheettheme="ServerControls" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageHeader" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PageBody" Runat="Server">
    <h4 id="h4Heading" runat="server">Send Your Feedback</h4>
    <div id="divMessage" class="ErrorMessageBox" runat="server" visible="false" style="display:block; margin-bottom:15px;"></div>
    <div class="WizardContainer">
            <div class="StepHeaderContainer">
                <div class="StepHeading">
                    <asp:Label ID="lblMemberShipType" runat="server" Text="Send Your Feedback to Us"></asp:Label>
                </div>
                <div class="StepSubHeading"><asp:Label ID="Label1" runat="server" Text="Fill out the form below and let us think for you."></asp:Label></div>
            </div>
            <div class="StepBody">
                <table cellpadding="3" cellspacing="0" style="width:100%;">
                    <colgroup>
                        <col style="width:21%;" />
                        <col />
                    </colgroup>                
                    <tr>
                        <td>Your Name<span class="requiredMark">*</span></td>
                        <td>
                            <asp:TextBox ID="txtName" runat="server" MaxLength="50"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
                                ControlToValidate="txtName"
                                Display="Dynamic" SetFocusOnError="true"
                                ErrorMessage="Please enter your Name."
                                ValidationGroup="SendMessage">
                            </asp:RequiredFieldValidator>                        
                        </td>
                    </tr>
                    <tr>
                        <td>Your Email<span class="requiredMark">*</span></td>
                        <td>
                            <asp:TextBox ID="txtEmail" runat="server" MaxLength="50"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvFrientEmail" runat="server"
                                ControlToValidate="txtEmail"
                                Display="Dynamic" SetFocusOnError="true"
                                ErrorMessage="Please enter your Email."
                                ValidationGroup="SendMessage">
                            </asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                ControlToValidate="txtEmail" Display="Dynamic" SetFocusOnError="true"
                                ErrorMessage="Please enter a valid Email address."
                                ValidationGroup="SendMessage">
                            </asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>Your Message<span class="requiredMark">*</span></td>
                        <td>
                            <asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine" MaxLength="2000"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                                ControlToValidate="txtMessage"
                                Display="Dynamic" SetFocusOnError="true"
                                ErrorMessage="Please enter message."
                                ValidationGroup="SendMessage">
                            </asp:RequiredFieldValidator>
                        </td>
                    </tr>                
                </table>
            </div>
            <div class="StepButtonContainer">
                <asp:Button ID="btnSendMessage" runat="server" Text="Send" ValidationGroup="SendMessage" OnClick="btnSendMessage_Click" />
            </div>
        </div>
</asp:Content>

